<?php

namespace app\admin\model;
use think\Model;

class ModelCore extends Model
{
	//全局关闭自动时间戳
	protected $autoWriteTimestamp = true;
	
    // 定义时间戳字段名
    protected $createTime = 'create_at';
    protected $updateTime = 'update_at';
    
    //自定义初始化
    protected function initialize()
    {
    	parent::initialize();
    	//TODO:自定义的初始化
    }
}